import { GlobalStyle } from "../../../common/global/GlobalStyle";
import { Language } from "../../../../extend/language/Language";
type int = number;
//class FootBallGameConst
    
    export  class FootBallGameConst
    {
        

        public static getNameColor(arg1: int): string
        {
            if (!FootBallGameConst.nameColorDic) 
            {
                FootBallGameConst.nameColorDic = new Map<any, any> /* flash.utils.Dictionary */();
                FootBallGameConst.nameColorDic[FootBallGameConst.GROUP_TYPE_8] = GlobalStyle.color6;
                FootBallGameConst.nameColorDic[FootBallGameConst.GROUP_TYPE_4] = GlobalStyle.color1;
                FootBallGameConst.nameColorDic[FootBallGameConst.GROUP_TYPE_2] = GlobalStyle.color2;
                FootBallGameConst.nameColorDic[FootBallGameConst.GROUP_TYPE_1] = GlobalStyle.color5;
            }
            return FootBallGameConst.nameColorDic[arg1];
        }

        public static getGuessDateTip(arg1: Date): string
        {
            var loc1="";
            var loc2=arg1.month + 1;
            var loc3=arg1.date;
            var loc4=arg1.hours;
            var loc5=arg1.minutes;
            var loc6=Language.getString(51141).split(",");
            loc1 = FootBallGameConst.twoBitNum(loc2) + loc6[1] + FootBallGameConst.twoBitNum(loc3) + loc6[2] + " " + FootBallGameConst.twoBitNum(loc4) + ":" + FootBallGameConst.twoBitNum(loc5);
            return loc1;
        }

        public static twoBitNum(arg1: int): string
        {
            return arg1 >= 10 ? arg1.toString() : "0" + arg1;
        }

        public static /* const */matchTimeColor: uint=16777215;

        public static /* var */GROUP_TYPE_8: int=8;

        public static /* var */GROUP_TYPE_4: int=4;

        public static /* var */GROUP_TYPE_2: int=2;

        public static /* var */GROUP_TYPE_1: int=1;

        public static /* var */GROUP_1: int=1;

        public static /* var */GROUP_2: int=2;

        public static /* var */GROUP_3: int=3;

        public static /* var */GROUP_4: int=4;

        public static /* var */GROUP_5: int=5;

        public static /* var */GROUP_6: int=6;

        public static /* var */GROUP_7: int=7;

        public static /* var */GROUP_8: int=8;

        /* internal */ static /* var */nameColorDic: Map<any, any> /* flash.utils.Dictionary */;
    }

            FootBallGameConst.GROUP_TYPE_8 = 8;
            FootBallGameConst.GROUP_TYPE_4 = 4;
            FootBallGameConst.GROUP_TYPE_2 = 2;
            FootBallGameConst.GROUP_TYPE_1 = 1;
            FootBallGameConst.GROUP_1 = 1;
            FootBallGameConst.GROUP_2 = 2;
            FootBallGameConst.GROUP_3 = 3;
            FootBallGameConst.GROUP_4 = 4;
            FootBallGameConst.GROUP_5 = 5;
            FootBallGameConst.GROUP_6 = 6;
            FootBallGameConst.GROUP_7 = 7;
            FootBallGameConst.GROUP_8 = 8;
        